<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>Form 1042-S Software Compliance and Reporting - International Payroll - Form W8 BEN - F1, J1 Students Taxes </title>
<link href="css/style.css" type="text/css" rel="stylesheet">
</head>
<body  onload="init();intializeVariables();">





<!-- Page Uploading Progress bar Script -->

<div id="loading" style="position:absolute; width:100%; text-align:center; top:300px;">
Loading Tax Software ... Please wait...<br>
<img src="imgs/progress_bar.gif" border=0></div>

<script>
 var ld=(document.all);
  var ns4=document.layers;
 var ns6=document.getElementById&&!document.all;
 var ie4=document.all;
  if (ns4)
         ld=document.loading;
 else if (ns6)
         ld=document.getElementById("loading").style;
 else if (ie4)
         ld=document.all.loading.style;
  function init()
 {
 if(ns4){ld.visibility="hidden";}
 else if (ns6||ie4) ld.display="none";
 }
 </script>




 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>

<!-- Jquery Json Select Box Plugin -->
<script src="scripts/jquery_selectbox/jquery.selectboxes.js" type="text/javascript"></script>
<script src="scripts/1042s_logic/form1042s.js" type="text/javascript"></script>
<script src="scripts/1042s_logic/form1042s_initialize.js" type="text/javascript"></script>
<script type="text/javascript">

$(document).ready(function(){

        jQuery.getJSON("scripts/data/country_data.js",function(jsonData) {

                $.each(jsonData,function(key,object) {
                 $("#foreignCountry").addOption(object.Country_Code,object.Country);
                 $("#foreignCountry option[@value='select']").attr('selected', 'true');
                });
        });

    jQuery.getJSON("scripts/data/income_data.js",function(jsonData) {
                $.each(jsonData,function(key,object) {
             $("#income_type").addOption(object.Income_Code,object.Income);
                   $("#income_type option[@value='select']").attr('selected', 'true');
        });
        });

    jQuery.getJSON("scripts/data/exemption_data.js",function(jsonData) {
                $.each(jsonData,function(key,object) {
          $("#exemption_type").addOption(object.Exemption_Code,object.Exemption);
          $("#exemption_type option[@value='select']").attr('selected', 'true');
                });
        });

    jQuery.getJSON("scripts/data/recipient_data.js",function(jsonData) {
      $.each(jsonData,function(key,object) {
        $("#recipient_type").addOption(object.Recipient_Code,object.Recipient);
        $("#recipient_type option[@value='select']").attr('selected', 'true');
      });
   });

      jQuery.getJSON("scripts/data/states_data.js",function(jsonData) {
      $.each(jsonData,function(key,object) {

          $("#box25").addOption(object.State_Code,object.State_Name);
        $("#box25 option[@value='select']").attr('selected', 'true');

        $("#us_states").addOption(object.State_Code,object.State_Name);
        $("#us_states option[@value='select']").attr('selected', 'true');
      });
   });



       $("#foreignCountry").change(function() {

                country_code_selected=$("#foreignCountry").val();

                country_selected = $("#foreignCountry option[@selected]").html();

                $("#selectedCountry").val(country_selected);
                $("#box16").val(country_code_selected);
                                 updateBox13e();

        });

          $("#us_states").change(function() {

              us_state_selected = $("#us_states option[@selected]").html();
                $("#selectedState").val(us_state_selected);
                updateBox12d();
        });


                $("#box25").change(function() {

              box25_selected = $("#box25 option[@selected]").html();

                $("#box25selected").val(box25_selected);

        });


          $("#income_type").change(function() {

                IncomeTypeSelected =$("#income_type").val();

                IncomeType = $("#income_type option[@selected]").html();

                $("#selectedincome_type").val(IncomeType);
                $("#box1").val(IncomeTypeSelected);

        });

            $("#exemption_type").change(function() {

                ExemptionTypeSelected =$("#exemption_type").val();

                ExemptionType = $("#exemption_type option[@selected]").html();

                $("#selectedexemption_type").val(ExemptionType);
                $("#box6").val(ExemptionTypeSelected);

        });


          $("#recipient_type").change(function() {

                RecipientTypeSelected =$("#recipient_type").val();

                RecipientType = $("#recipient_type option[@selected]").html();

                $("#selectedrecipient_type").val(RecipientType);
                $("#box13b").val(RecipientTypeSelected);

        });


});




</script>


<!--Jquery Multitabs Scripts Section -->
<link rel="stylesheet" href="css/jquery.tabs.css" type="text/css" media="print, projection, screen">
<link href="css/style.css" type="text/css" rel="stylesheet">
<script src="scripts/jquery_multitabs/jquery.tabs.pack.js" type="text/javascript"></script>
<script type="text/javascript">

    $(function() {

                $('#container-1').tabs();
            });


        </script>


<!-- Javascript popup Script -->

        <script language="javascript" type="text/javascript">

        function popitup(url) {
                newwindow=window.open(url,'name','height=450,width=450, scrollbars = yes, resizable = yes');
                if (window.focus) {newwindow.focus()}
                return false;
        }

</script>

        <div id="content">
        <a name="top"></a>
        <h2 class='l2'>Form 1042-S Software Compliance and Reporting</h2>
        <form name ="Form1042S" method="POST" >
        <!-- Here are the containers / Tabs -->
                                         <div id="container-1">
                                             <ul>
                                                  <li><a href="#WithoutHoldingAgent"><span>1. Withholding Agent - Payer</span></a></li>
                                                  <li><a href="#ForeignPersonRecioient"><span>2. Foreign Person (Recipient)</span></a></li>
                                                  <li><a href="#Payments"><span>3. Payments</span></a></li>
                                                  <li><a href="#Form1042-S_Download"><span>4. Download   Form 1042-S</span></a></li>
                                              </ul>

                                                                 <!--Tab 1 Body-->
                                                                 <div id="WithoutHoldingAgent">
                                                                     <br>
                                                                    <table >
                                                                         <tr>
                                                                            <td>
                                                                                 Name of the Withholding Agent  (Box 12a) :&nbsp;<input type="text" id = "box12a" name="box12a">
                                                                           </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Phone Number :&nbsp;<input type="text" id = "phoneNumber" name="phoneNumber">
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Withholding Agent Tax Identification Number - EIN (Box 21):&nbsp;<input type="text" id = "box21" name="box21">
                                                        </td>
                                                </tr>
<tr>
                                                        <td>
                                                        <br>
                                                        <b>United States Address : </b>
                                                        </td>
                                                        </tr>

                        <tr>
                            <td>
                                <br>
                                                                Street and Room / Suite Number  (Box 12b):&nbsp;<input type="text" id = "box12b" name="box12b">
                            </td>
                        </tr>

                                                <tr>
                            <td>
                               <br>
                                                                City :&nbsp;<input type="text" id = "city" name="city" onchange = "updateBox12d();">



                                                                State :&nbsp;<select id="us_states"/>
                                                                <input type="hidden" name="selectedState" id="selectedState" onchange = "updateBox12d();">

                              </td>
                                </tr>
                                <tr>
                                <td>
                              <br>

                                                                Zip :&nbsp;<input type="text" id = "zip" name="zip" onchange = "updateBox12d();">

                                                                </td>

                        </tr>

                                                <tr>
                            <td>
                                                                <input type="hidden" id = "box12d" name="box12d">
                            </td>
                        </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Are you reporting State Taxes in Form 1042-S ?
                                                                <select name="reportStateTaxes" id="reportStateTaxes" onchange="showHideReportingState();">
                                                                        <option value="No" selected="selected">No</option>
                                                                        <option value="Yes">Yes</option>
                                                                </select>
                                                        </td>
                                                </tr>
                                        </table>


                                        <div id="reportingStateTaxesDiv" style="display: none;">
                                                <table>
                                                        <tr>
                                                                <td>
                                                                        <br>
                                                                        Withholding Agent's State Tax Number (Box 24) :&nbsp;<input type="text" id = "box24" name="box24">
                                                                </td>
                                                        </tr>
                                                                                                                <tr>
                                                                <td>
                                                                        <br>
                                                                        Name of the State (Box 25) :
                                                                        <select name="box25" id="box25" value ="">
                                                                        <input type="hidden" name="box25selected" id="box25selected">
                                                                        </select>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>


                     <br>
                     Click <a href="#top">Go to Top</a> and complete the 'Foreign Person - Recipient' Tab.
                    <br> <br>


                                </div>


                                <div id="ForeignPersonRecioient">
                                        <br>
                                        <table >
                                                <tr>
                                                        <td>
                                                                </br>
                                                                Type of Foreign Person - Recipient (Box 13a) :&nbsp;&nbsp;<select id="recipient_type"/>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Recipient Code (Box 13b) :&nbsp;&nbsp;<input id="box13b" readonly type =" text" name ="box13b" value="" />
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Name of the Foreign Person - Recipient (Box 13a): &nbsp;&nbsp;<input id="box13a" type = "text" name="box13a"/>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Social Security Number (SSN)  or  Individual Tax Identification Number (ITIN)  (Box 14) :&nbsp;<input type="text" id = "box14" name="box14">
                                                                <br>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Recipient's Foreign Tax Identification Number (Box 15) :&nbsp;<input type="text" id = "box15" name="box15">
                                                        </td>
                                                </tr>

                        <tr>
                            <td>
                                <br>
                                                                Recipient's Account Number (Box 22) :&nbsp;<input type="text" id = "box22" name="box22">
                            </td>
                        </tr>

                                                <tr>
                            <td>
                                <br>
                                                                <b>Foreign Address :</b>
                            </td>
                        </tr>

                                                <tr>
                            <td>
                                <br>
                                                                Street and Room / Suite Number :&nbsp;<input type="text" id = "foriegnStreet" name="foriegnStreet">
                            </td>
                        </tr>

                                                <tr>
                            <td>
                                <br>
                                                                City :&nbsp;<input type="text" id = "foreignCity" name="foreignCity" onchange = "updateBox13e();">
                                                                &nbsp;&nbsp;&nbsp;
                                                                State :&nbsp;<input type="text" id = "foreignState" name="foreignState" onchange = "updateBox13e();">
                                                                &nbsp;&nbsp;&nbsp;
                                                                Zip / Postal Code:&nbsp;<input type="text" id = "foreignZip" name="foreignZip" onchange = "updateBox13e();">
                                                        </td>
                        </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Foreign Country :&nbsp;&nbsp;
                                                                <select id="foreignCountry" />
                                                        </td>
                                                </tr>


                                                <tr>
                                                        <td>
                                                                <input id="selectedCountry" type ="hidden" name ="selectedCountry" />
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Foreign Country Code  (Box 16) :&nbsp;&nbsp;<input id="box16" readonly type =" text" name ="box16" value="" />
                                                        </td>
                                                </tr>
                                                        <tr>
                                                        <td>
                                                                <input id="box13e" readonly type ="hidden" name ="box13e" />
                                                        </td>
                                                </tr>
                                        </table>
                                        <br />
<br />

   Click <a href="#top">Go to Top</a>, and complete the 'Payments' Tab.

                                <br>
                                <br>




                                </div>
                                <div id="Payments">
                                        <table>
                                                <tr>
                                                        <td>
                                                                </br>
                                                                Income Type : &nbsp;&nbsp;<select id="income_type"/>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Income Code (Box 1) :&nbsp;&nbsp;<input id="box1" readonly type =" text" name ="box1" value="" />
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Tax Rate based on Income Type (Box 5):&nbsp;&nbsp;
                                                                <select id="box5" name ="box5" onchange = "updateBox7();">
                                                                        <option value="00.00">00.00</option>
                                                                        <option value="04.00">04.00</option>
                                                                        <option value="04.90">04.90</option>
                                                                        <option value="04.95">04.95</option>
                                                                        <option value="05.00">05.00</option>
                                                                        <option value="07.00">07.00</option>
                                                                        <option value="08.00">08.00</option>
                                                                        <option value="10.00">10.00</option>
                                                                        <option value="12.00">12.00</option>
                                                                        <option value="12.50">12.50</option>
                                                                        <option value="14.00">14.00</option>
                                                                        <option value="15.00">15.00</option>
                                                                        <option value="17.50">17.50</option>
                                                                        <option value="20.00">20.00</option>
                                                                        <option value="25.00">25.00</option>
                                                                        <option value="27.50">27.50</option>
                                                                        <option value="28.00">28.00</option>
                                                                        <option value="30.00">30.00</option>
                                                                        <option value="33.00">33.00</option>
                                                                        <option value="35.00">35.00</option>
                                                                </select>&nbsp; %
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Gross Income paid to the Recipient ( Box 2) :&nbsp; $ &nbsp;<input id="box2" type =" text" name ="box2" onchange = "updateBox4();roundField('box2');"/>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Did you have any withholding allowances ?
                                                                <select name="withHoldingAllowances" id="withHoldingAllowances" onchange="showHidewithHoldingAllowances();">
                                                                        <option value="No" selected="selected">No</option>
                                                                        <option value="Yes">Yes</option>
                                                                </select>
                                                        </td>
                                                </tr>
                                        </table>

                                        <div id = "withHoldingAllowancesDiv" style="display: none;">
                                                <table>
                                                        <tr>
                                                                <td>
                                                                        </br>
                                                                        Withholding Allowances (Box 3) :&nbsp; $ &nbsp;<input id= "box3" type = "text" name = "box3" onchange = "updateBox4();roundField('box3');"/>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>

                                        <table>
                                                <tr>
                                                        <td>
                                                                </br>
                                                                Net Income (Box 4)  :&nbsp; $ &nbsp;<input id="box4" type = "text" name ="box4" readonly onchange = "updateBox7();"/>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                <b>Exemption:</b>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Exemption Type :&nbsp;&nbsp;<select id="exemption_type"/>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                Exemption Code (Box 6):&nbsp;&nbsp;<input id="box6" readonly type =" text" readonly name ="box6" value="" />
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                </br>
                                                                <b>NRA Withholding :</b>
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Is the Income withheld by another withholding Agent ?
                                                                <select name="anotherWithholdingAgent" id="anotherWithholdingAgent" onchange="showHideOtherWithHoldingAgentAmountDiv();">
                                                                        <option value="No" selected="selected">No</option>
                                                                        <option value="Yes">Yes</option>
                                                                </select>
                                                        </td>
                                                </tr>
                                        </table>

                                        <div id = "otherWithHoldingAgentAmountDiv" style="display: none;">
                                                <table>
                                                        <tr>
                                                                <td>
                                                                        </br>
                                                                        Amount withheld by the other Withholding Agent (Box 8) :&nbsp; $ &nbsp;<input id= "box8" type = "text" name = "box8" onchange = "updateBox9();roundField('box8');" />
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>

                                        <table>
                                                <tr>
                                                        <td>
                                                                <br>
                                                                Are you reporting Federal Taxes in Form 1042-S ?
                                                                <select name="reportingFedralTaxes" id="reportingFedralTaxes"  onchange ="showHideFederalTaxesWithheldDiv();">
                                                                        <option value="No" >No</option>
                                                                        <option value="Yes" selected="selected">Yes</option>
                                                                </select>
                                                        </td>
                                                </tr>
                                        </table>

                                        <div id = "federalTaxesWithheldDiv" style="display: block;">
                                                <table>
                                                        <tr>
                                                                <td>
                                                                        </br>
                                                                        Federal Taxes Withheld (Box 7) :&nbsp; $ &nbsp;<input id= "box7" type = "text" name = "box7" readonly onchange = "updateBox9();roundField('box7');"/>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>

                                                <table>
                                                <tr>
                                                        <td>
                                                                </br>
                                                                Total Withholding Credit (Box 9) :&nbsp; $ &nbsp;<input id= "box9" type = "text" name = "box9" readonly />
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td>
                                                                <br>
                                                                Did you overpay or overwithheld ?
                                                                <select name="overpayOrOverwithheld" id="overpayOrOverwithheld" onchange="showHideOverpayOrOverwithheldDivDiv();">
                                                                        <option value="No" selected="selected">No</option>
                                                                        <option value="Yes">Yes</option>
                                                                </select>
                                                        </td>
                                                </tr>
                                        </table>

                                        <div id = "overpayOrOverwithheldDiv" style="display: none;">
                                                <table>
                                                        <tr>
                                                                <td>
                                                                        </br>
                                                                        Enter the amount overpaid or overwithheld (Box 10) :&nbsp; $ &nbsp;<input id= "box10" type = "text" name = "box10" onchange = "roundField('box10');"/>
                                                                </td>
                                                        </tr>
                                                </table>

                                                                                         </div>

                                        <table>
                                                <tr>
                                                        <td>
                                                                <br>
                                                                Are you reporting State Taxes in Form 1042-S ?
                                                                <select name="reportingStateTaxes" id="reportingStateTaxes" onchange="showHideStateTaxesWithheldDiv();">
                                                                        <option value="No" selected="selected">No</option>
                                                                        <option value="Yes">Yes</option>
                                                                </select>
                                                        </td>
                                                </tr>
                                        </table>

                                        <div id = "stateTaxesWithheldDiv" style="display: none;">
                                                <table>
                                                        <tr>
                                                                <td>
                                                                        </br>
                                                                        State Taxes Withheld (Box 23) :&nbsp; $ &nbsp;<input id= "box23" type = "text" name = "box23" onchange = "roundField('box23');"/>
                                                                </td>
                                                        </tr>

                                                </table>
                                        </div>






                                <br>
                                <br>


    Click <a href="#top">Go to Top</a>, and Download the forms from 'Download - Form 1042-S' Tab.
                                          <br>
                                            <br>



                                </div>
                <div id="Form1042-S_Download">

                 <br>
                                <br>

 <table>
 <tr>
 <td>

 Please click on the button below, to generate Form 1042-S and Form 1042-T.

 </td>

 </tr>
<tr><td height="64" align="left">
                         <input type="checkbox" name="chkAccept" id="chkAccept" checked ="checked" disabled="disabled">&nbsp;I accept the <a href="https://www.visataxes.com/terms_of_service.php" onclick="return popitup('http://www.visataxes.com/terms_of_service.php')"
        >Terms and Conditions</a> and the <a href="https://www.visataxes.com/privacy.php" onclick="return popitup('https://www.visataxes.com/privacy.php')"
        >Privacy Policy</a>  at VisaTaxes.com</td>

                                        </tr>


                                                                                                                <tr>
                                                                                        <td align="left">
                                                                                        <br>

                                                                                                        <INPUT TYPE="Image" src="imgs/Download_Form1042S.gif" ALT="Submit button" onclick="changeAction(0);">
                                                                                                        <INPUT TYPE="Image" src="imgs/Download_Form1042T.gif" ALT="Submit button" onclick="changeAction(1);">
                                                                                        </td>


                                        </tr>

                                        <tr>
<td>
<br>
<b>Important:</b><br><br>


<u>Do not forget to Sign and Date</u> the downloaded Tax Forms.
</td>
</tr>
<tr>
<td>
<br>
<b>Mailing Address - Form 1042-S and Form 1042-T:</b><br><br>
Send Copy A of Form 1042-S paper forms, with Form 1042-T to the IRS address below;
<br><br>
Ogden Service Center<br>
PO BOX 409101<br>
Ogden, UT 84409<br><br>
Copy B, C, D of Form 1042-S should be sent to the Recipient of the Income.
</td>
</tr>

                                        </table>                               

                                </div>
                        </div>
                </form>
                
        </div>
</body>
</html>
